/*
 * Copyright (c) 2017. 深圳一七科技. All rights reserved.
 */

package com.yiqi.liebang.feature.setting.contract;

import com.suozhang.framework.entity.bo.UserInfoBo;
import com.suozhang.framework.framework.BasePresenter;
import com.suozhang.framework.framework.BaseView;
import com.yiqi.liebang.entity.bo.EditPrivacyBo;
import com.yiqi.liebang.entity.bo.PrivacyBo;
import com.yiqi.liebang.entity.bo.UserCenterBo;

import io.reactivex.Observable;

/**
 * LIJUWEN
 *
 * @email yiyayiyayaoljw@gmail.com
 * @date 2018/7/11 9:06
 */
public interface PrivacyContract {

    interface Model {
        Observable<PrivacyBo> getPrivacyData();

        Observable<String> editPrivacy(EditPrivacyBo privacyBo);

    }

    interface View extends BaseView {

        void showPrivacySuccess(PrivacyBo s);

        void showEditSuccess();

        void showError(String error);

    }


    interface Presenter extends BasePresenter {
        void getPrivacyData();

        void editPrivacy(String editType,
                         String type,
                         String blackUserUid);
    }
}
